package com.sunwayworld.basemodule.basedata.exporttemplate.service;

import com.sunwayworld.basemodule.basedata.exporttemplate.bean.LimsExportTemplateBean;
import com.sunwayworld.framework.support.base.service.GenericService;
import com.sunwayworld.framework.support.selectable.service.GenericSelectableService;
import com.sunwayworld.module.item.file.bean.CoreFileBean;

import java.util.List;

public interface LimsExportTemplateService extends GenericService<LimsExportTemplateBean, Long>, GenericSelectableService<LimsExportTemplateBean, Long> {

    LimsExportTemplateBean selectByTemplateCode(String templateCode);

    List<LimsExportTemplateBean> selectTaskTemplateExport(String templateCode);

    CoreFileBean downloadTemplate(String templateId, Long fileId);
}
